write in code
英
美
[网络] 写代码
双语例句
- We write our code in such a way that some other piece of code is responsible for selecting which implementation of the Math interface our code will use
我们以特定的方式编写另一段代码,使其负责选择代码将要使用的Math接口实现 - You can also optionally write code to sort the columns on plug-in ID like in the sample code.
我们也可以编写一些代码根据插件ID列进行排序,就像是我们的样例代码一样。 - You want to write the specs so that everybody does in fact know what this piece of code is doing, and you're writing it each time around.
但是你得养成良好的习惯和编程风格,你得撰写规范说明从而保证,每个人都知道这段代码是干什么的。 - The easiest way to find out is to write a small set of JUnit tests in Java code rather than in Scala, so let's do that.
最简单的方法是用Java代码而不是Scala编写一组小型的JUnit测试,所以接下来我们就这样做。 - When you write your test cases first, you get in the habit of writing only enough code to make the test case pass.
在编写测试用例时,您养成了很好的测试习惯,即只编写运行测试用例所需的最少代码。 - You can write a simple script in any other language that returns a similar response to test the JavaScript code.
您可以以其他任何语言编写一个简单的脚本,返回一个类似的响应来测试JavaScript代码。 - The fourth recommendation was to write as much of the page setup code in your jQuery code as possible.
第四个概念是,尽可能多地用jQuery代码编写页面设置代码。 - I'm going to write the examples in functional code to keep them as brief as possible.
下面我要用函数性代码编写这两个示例以使其尽可能地简单。 - The goal is to write a FindBugs detector that will find all the places in the code that are making calls to the logging framework without being wrapped in a guard clause.
目标是编写一个FindBugs检测器,它将找出代码中调用日志框架而未被包装在监护子句中的所有地方。 - So really, the rule of thumb if you think back to Scratch is that any time you write a statement something that does something in one line of code you generally need the semicolon there.
实际上,根据经验,你们回忆一下在Scratch中,任何时候你们写一条语句-,处理一些操作的一行代码-,你们通常需要在那里加个分号。
